package com.lucy.nepu.module.property.lib;

import com.lucy.common.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Getter
@Setter
@ToString
@RequiredArgsConstructor
@Entity
@Table(name = "nepu_property_dict")
@ApiModel(value = "知识产权词典")
public class PropertyDict extends BaseEntity implements Serializable {
    /**
     * 词典编码
     */
    @ApiModelProperty("词典编码")
    @Column(name = "code")
    String code;
    // property
    @ApiModelProperty(value = "知识产权类型",notes = "国外发明专利 etc.")
    @Column(name = "property_type")
    String propertyType;

    @ApiModelProperty(value = "知识产权级别",notes = "A.B.C等")
    @Column(name = "property_level")
    String propertyLevel;

    @ApiModelProperty(value = "工作量Min",notes = "获奖对应的最小工作量")
    @Column(name = "workload_min")
    Double workloadMin;
    @ApiModelProperty(value = "工作量Max",notes = "获奖对应的最大工作量")
    @Column(name = "workload_max",scale = 2)
    Double workloadMax;

}
